Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

143
Vistas
List of Supported MIME Types for Clipboard "write"

My application generates a video file using the MediaRecorder api, of type video/webm.

I'm trying to copy this file to the clipboard by:

const item = new ClipboardItem({['video/webm']: blob});
await navigator.clipboard.write([item]);

However I get the following error:

ERROR DOMException: Type video/webm not supported on write.

What MIME types are supported for clipboard.write? Is there any video MIME type supported?

On Safari (Webkit), there are four supported: https://webkit.org/blog/10855/async-clipboard-api/

  • "text/plain"
  • "text/html"
  • "text/uri-list"
  • "image/png"
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

In Chromium, the following MIME types are supported:

  • text/plain
  • text/html
  • image/png

Source: ClipboardWriter::IsValidType

This tracking bug tracks support for more formats.


Currently, there is a proposal to allow custom MIME Types: Pickling for Async Clipboard API

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda